package com.xiaoshuidi.cloud.module.report.dal.DO.report;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 租金周期明细表
 * </p>
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("report_rent_period_details")
@Schema(description = "租金周期明细表")
public class ReportRentPeriodDetailsDO extends BaseDO {

    private static final long serialVersionUID = 1L;

    @Schema(description = "房间id")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @Schema(description = "合同id")
    private Long contractId;

    @Schema(description = "公寓id")
    private Long apartmentId;

    @Schema(description = "公寓名称")
    private String apartmentName;

    @Schema(description = "房间id")
    private Long roomId;
    @Schema(description = "房间名称")
    private String roomName;
    @Schema(description = "小区")
    private String area;
    @Schema(description = "房源")
    private String houseResource;
    /**
     *客户类型 personal 个人客户 | company 企业客户
     */
    private String customerType;
    /**
     *租客姓名
     */
    private String customerName;
    /**
     *租客手机号
     */
    private String customerPhone;
    /**
     *合同状态
     */
    private String contractStatus;
    /**
     *租赁期限
     */
    private Integer leaseTerm;
    /**
     *付几
     */
    private String payWay;
    /**
     * 第一期
     */
    private String one;

    /**
     * 第二期
     */
    private String two;

    /**
     * 第三期
     */
    private String three;

    /**
     * 第四期
     */
    private String four;

    /**
     * 第五期
     */
    private String five;

    /**
     * 第六期
     */
    private String six;

    /**
     * 第qi期
     */
    private String seven;

    /**
     * 第八期
     */
    private String eight;

    /**
     * 第9期
     */
    private String nine;

    /**
     * 第10期
     */
    private String ten;

    /**
     * 11期
     */
    private String eleven;

    /**
     * 第12期
     */
    private String twelve;

    @Schema(description = "租户id")
    private Long tenantId;
    @Schema(description = "部门编号")
    private Long deptId;
    private Integer handleFlag;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
